package org.wlc.demov1.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 王立朝
 * @date 2022/5/18
 * @description: 查询用户内部下单数量接口
 */
public class OrderService {


    private static final Logger logger = LoggerFactory.getLogger(OrderService.class);

    /**
     * 查询用户内部下单数量接口
     * @param userId
     * @return
     */
    public long queryUserOrderCount(String userId) {
        logger.info("自营商家，查询用户的订单是否为首单：{}", userId);
        return 10L;
    }
}
